ASP.NET Core Web API - how to consume third-party API based on condition

visit shbcf.ru